import request from '@/router/axios';
export const getList = (current, size, params) => {
  return request({
    url: '/api/blade-platform/customerData/list',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}
//同比变化
export const getCustomerChart = (params) => {
  return request({
    url: '/api/blade-platform/customerData/getRateOfChange',
    method: 'get',
    params
  })
}
//区域下拉框
export const regionList = () => {
  return request({
    url: '/api/blade-platform/customerData/getRegionList',
    method: 'get',
  })
}
export const deviceTypeList = () => {
  return request({
    url: '/api/blade-platform/customerData/getDeviceType',
    method: 'get',
  })
}
/*产品类型*/
export const productTypeChart = (params) => {
  return request({
    url: '/api/blade-platform/customerData/getProductType',
    method: 'get',
    params
  })
}
